x86/EFI: don't apply relocations to l{2,3}_bootmap
authorJan Beulich <jbeulich@suse.com>
Fri, 19 Aug 2016 15:03:33 +0000 (17:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Aug 2016 15:03:33 +0000 (17:03 +0200)
commitc5b4805bcd6bc749a8717e7406faa4a0e95468b4
treef481f78b4f21af0de92bbd828b2dbba88716e931
parent739111b3114a6506b2b7daae423e2fde07ef4775
x86/EFI: don't apply relocations to l{2,3}_bootmap

Other than claimed in commit 2ce5963727's ("x86: construct the
{l2,l3}_bootmap at compile time") the initialization of the two page
tables doesn't take care of everything without furher adjustment: The
compile time initialization obviously requires base relocations, and
those get processed after efi_arch_memory_setup(). Hence without
additional care the correctly initialized values may then get wrongly
"adjusted" again. Except the two table from being subject to base
relocation.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper@citrix.com>
xen/arch/x86/efi/efi-boot.h